@{
    ViewData["Title"] = "访问被拒绝";
}

<div class="text-center my-5">
    <h1 class="text-danger">访问被拒绝</h1>
    <p class="text-muted">您没有权限访问此资源</p>
    <div class="mt-4">
        <a asp-controller="Home" asp-action="Index" class="btn btn-primary">返回首页</a>
    </div>
</div> 